Skip to contentSkip to conversation

Change in openvpn[master]: Fix typo of nprocs instead of nproc in run-cppcheck.sh

Openvpn-devel In review Arne Schwabe (Code Review) via Openvpn-devel 3 participants 7 messages Oct 25 – Oct 26 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1792963979000.I136d57b7487f228e37894fa710b1ccc2c4606eb5@gerrit.openvpn.net

#1 lore raw

Arne Schwabe has uploaded this change for review. ( https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email )

Change subject: Fix typo of nprocs instead of nproc in run-cppcheck.sh
......................................................................

Fix typo of nprocs instead of nproc in run-cppcheck.sh

Commit ccd058e75 accidentally used nprocs instead nproc, making the script fail on Linux.

Change-Id I136d57b7487f228e37894fa710b1ccc2c4606eb5

---
M dev-tools/run-cppcheck.sh

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/31/2031/1

dev-tools/run-cppcheck.sh +1 -1
index 58609b2..a9c4643 100755
@@ -22,7 +22,7 @@
     num_procs=$(sysctl -n hw.ncpu)
 else
     SCRIPT_DIR=$(dirname $(readlink -e "${BASH_SOURCE[0]}"))
-    num_procs=$(nprocs)
+    num_procs=$(nproc)
 fi
 : ${SOURCE_DIR:=$SCRIPT_DIR/..}
 : ${BUILD_DIR:=$PWD}

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I136d57b7487f228e37894fa710b1ccc2c4606eb5
Gerrit-Change-Number: 2031
Gerrit-PatchSet: 1
Gerrit-Owner: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: Arne Schwabe.

Antonio Quartulli has posted comments on this change by Arne Schwabe. ( https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email )

Change subject: Fix typo of nprocs instead of nproc in run-cppcheck.sh
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I136d57b7487f228e37894fa710b1ccc2c4606eb5
Gerrit-Change-Number: 2031
Gerrit-PatchSet: 1
Gerrit-Owner: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Antonio Quartulli <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Comment-Date: Sun, 25 Oct 2026 21:54:44 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#3 lore raw
In reply to a message not in the archive

Attention is currently required from: Arne Schwabe.

Frank Lichtenheld has posted comments on this change by Arne Schwabe. ( https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email )

Change subject: Fix typo of nprocs instead of nproc in run-cppcheck.sh
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I136d57b7487f228e37894fa710b1ccc2c4606eb5
Gerrit-Change-Number: 2031
Gerrit-PatchSet: 1
Gerrit-Owner: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Antonio Quartulli <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Comment-Date: Mon, 26 Oct 2026 10:59:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#4 lore raw

PATCH 1/1 Fix typo of nprocs instead of nproc in run-cppcheck.sh

In reply to a message not in the archive

From: Arne Schwabe <[email protected]>

Commit ccd058e75 accidentally used nprocs instead nproc, making the script fail on Linux.

Change-Id I136d57b7487f228e37894fa710b1ccc2c4606eb5

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2031
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2031
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Antonio Quartulli <[email protected]>
Frank Lichtenheld <[email protected]>

dev-tools/run-cppcheck.sh +1 -1
index 58609b2..a9c4643 100755
@@ -22,7 +22,7 @@
     num_procs=$(sysctl -n hw.ncpu)
 else
     SCRIPT_DIR=$(dirname $(readlink -e "${BASH_SOURCE[0]}"))
-    num_procs=$(nprocs)
+    num_procs=$(nproc)
 fi
 : ${SOURCE_DIR:=$SCRIPT_DIR/..}
 : ${BUILD_DIR:=$PWD}

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Acked-by Antonio Quartulli Acked-by Frank Lichtenheld on v1 1/1
#5 lore raw

[Openvpn-devel] [PATCH applied] Re: Fix typo of nprocs instead of nproc in run-cppcheck.sh

That's what I get for not running the test on the original commit... (... but I might not have caught it, assuming "Linux will be fine, test the new stuff"...)

Your patch has been applied to the master branch.

commit 766320d69bc402e700fe4d014d3738ec8a9441da

Author: Arne Schwabe
Date:   Mon Oct 26 12:02:05 2026 +0100

Fix typo of nprocs instead of nproc in run-cppcheck.sh

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2031
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40134.html

--
kind regards,

Gert Doering

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#6 lore raw
In reply to a message not in the archive

Gert Doering has uploaded a new patch set (#2) to the change originally created by Arne Schwabe. ( https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by Antonio Quartulli, Code-Review+2 by Frank Lichtenheld

Change subject: Fix typo of nprocs instead of nproc in run-cppcheck.sh
......................................................................

Fix typo of nprocs instead of nproc in run-cppcheck.sh

Commit ccd058e75 accidentally used nprocs instead nproc, making the script fail on Linux.

Change-Id I136d57b7487f228e37894fa710b1ccc2c4606eb5

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2031
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40134.html

---
M dev-tools/run-cppcheck.sh

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/31/2031/2

dev-tools/run-cppcheck.sh +1 -1
index 58609b2..a9c4643 100755
@@ -22,7 +22,7 @@
     num_procs=$(sysctl -n hw.ncpu)
 else
     SCRIPT_DIR=$(dirname $(readlink -e "${BASH_SOURCE[0]}"))
-    num_procs=$(nprocs)
+    num_procs=$(nproc)
 fi
 : ${SOURCE_DIR:=$SCRIPT_DIR/..}
 : ${BUILD_DIR:=$PWD}

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I136d57b7487f228e37894fa710b1ccc2c4606eb5
Gerrit-Change-Number: 2031
Gerrit-PatchSet: 2
Gerrit-Owner: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Antonio Quartulli <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#7 lore raw
In reply to a message not in the archive

Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email )

Change subject: Fix typo of nprocs instead of nproc in run-cppcheck.sh
......................................................................

Fix typo of nprocs instead of nproc in run-cppcheck.sh

Commit ccd058e75 accidentally used nprocs instead nproc, making the script fail on Linux.

Change-Id I136d57b7487f228e37894fa710b1ccc2c4606eb5

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2031
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40134.html

---
M dev-tools/run-cppcheck.sh

1 file changed, 1 insertion(+), 1 deletion(-)
dev-tools/run-cppcheck.sh +1 -1
index 58609b2..a9c4643 100755
@@ -22,7 +22,7 @@
     num_procs=$(sysctl -n hw.ncpu)
 else
     SCRIPT_DIR=$(dirname $(readlink -e "${BASH_SOURCE[0]}"))
-    num_procs=$(nprocs)
+    num_procs=$(nproc)
 fi
 : ${SOURCE_DIR:=$SCRIPT_DIR/..}
 : ${BUILD_DIR:=$PWD}

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I136d57b7487f228e37894fa710b1ccc2c4606eb5
Gerrit-Change-Number: 2031
Gerrit-PatchSet: 2
Gerrit-Owner: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Antonio Quartulli <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel